package com.game.majiang.algorithm;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum scgamestate {
	ZhunBei(1, "准备"),//玩家开始准备 ----->2
	Start(2, "开始"),//都准备了 开始游戏 ----->3
	FaPai(3, "发牌"),//发牌 ----->4
	MoPai(4, "摸牌"),//摸牌----->5
	CaoZuo(5,"摸牌操作"),//摸牌 等待出牌 或者杠 胡----->6 ----->7
	GangCaoZuo(6,"杠操作"),//杠 等待抢杠----->7
	ChuPai(7,"出牌"),//出牌----->8
	ChuPaiCaoZuo(8,"出牌操作"),//出牌 等待胡----->10
	JieSuan(9,"结算"),//游戏结算----->1
	ChuPaiCaoZuo2(10,"出牌操作2"),
	DingQue(11, "定缺"),
	HuanSanZhang(12, "换三张"),
	;//出牌 等待碰杠----->4----->7----->9
	@Setter
	private int _value;
	@Setter
	private String _name;
	
	private scgamestate(int value, String name)
    {
         _value = value;
         _name = name;     
    }
	
	@Override
	public String toString() {
		return _name;
	}
}
